Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

718
Visualizações
How do I suppress "Firebase iOS builds are not supported on Windows" error in Unity?

I'm building a mobile game and only want to use Firebase for Android push notifications (side note: if there's a better way than Google Firebase Cloud Messaging, let me know). I don't want to use it for iOS because I can't build from PC and you don't need it for basic push notifications on iOS anyway.

The problem is, when I load the Firebase SDK into Unity, I keep getting an error "Firebase iOS builds are not supported on Windows. Please build on a OSX machine instead."

It doesn't stop me from building the game, but it's very annoying and I'd like to not have any errors.

Is there a way to suppress this error, or some configuration I need to change?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Reading through the source, it looks like you should only see that issue if you're on Windows and your build target is iOS:

EditorUserBuildSettings.activeBuildTarget == BuildTarget.iOS && Application.platform == RuntimePlatform.WindowsEditor

You should be able to avoid the error completely if you select Android as your build target before opening in Unity Hub: A picture of Unity hub. The "Target" for the "FireKing" project is open with "Android" being visible

You can also change to Android in your build settings window: Build setting window open with Android set as the platform target

This setting should be sticky, so you should only have to do it once (unless you switch back to iOS).

If this is not possible, you can also try setting your platform to "PC, Mac, & Linux Standalone" -- although this might not be workable if your project (or related plugins) are setup in such a way that you can't reliably test in Editor like this.

For next steps if the above doesn't work:

  1. if your target platform is Android and you're still getting the warning message, feel free to file a bug report as it's not expected behaviour. Link this answer if you need to for context.
  2. if you need to have your platform set to iOS when developing on Windows, file a feature request at the same site. Try to explain why you need this so the team has good context for prioritization.
  3. if you want to reach out but not expose the game/team you're working on, reach out via this support form. It might take a little longer to get to the engineers, but it's way more private than posting on GitHub.
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda